home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Palettes / PAScrollViewDeluxe / PARuler.h < prev    next >
Text File  |  1995-06-12  |  438b  |  30 lines

  1. #import <appkit/appkit.h>
  2.  
  3. @interface PARuler : View
  4. {
  5.     int direction;
  6. }
  7.  
  8. - initFrame:(const NXRect *)rect;
  9.  
  10. - (int)direction;
  11. - setDirection:(int)value;
  12. - setHorizontal;
  13. - setVertical;
  14.  
  15. - drawSelf:(const NXRect *)rect :(int)count;
  16.  
  17. - write:(NXTypedStream *)stream;
  18. - read:(NXTypedStream *)stream;
  19.  
  20. @end
  21.  
  22. #ifndef DIRECTION_HORIZONTAL
  23. #define DIRECTION_HORIZONTAL    0
  24. #endif
  25.  
  26. #ifndef DIRECTION_VERTICAL
  27. #define DIRECTION_VERTICAL        1
  28. #endif
  29.  
  30.